package com.easybuy.service;

import com.easybuy.bean.EasybuyProductCategory;

import java.util.List;

public interface IProductCategoryService {
    List<EasybuyProductCategory> listByPage(int page, int pageSize);
    int deleteByPk(int id);
    int save(EasybuyProductCategory ebProductCategory);
    List<EasybuyProductCategory> all();
    EasybuyProductCategory findByPk(Integer id);
    int updateByPk(EasybuyProductCategory ebProductCategory);
    EasybuyProductCategory findByName(String name);
    List<EasybuyProductCategory> findByPId(Integer id);
    //�鸸��
    List<EasybuyProductCategory> fP();
    //������
    List<EasybuyProductCategory> fS();

    int countAll();
    int deleteByepid(int Id);

}
